import { configureStore } from '@reduxjs/toolkit';
import handleArrReducer from "./ArrStatus"
import handleMoudleReducer from "./ModuleStatus"

const store = configureStore({
    reducer: {
        handleArr: handleArrReducer,
        handleMoudle: handleMoudleReducer,
    }
})
export default store;
// 导出 RootState 类型
export type RootState = ReturnType<typeof store.getState>;
// 导出 dispatch 类型
export type AppDispatch = typeof store.dispatch;